﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebSEClassLibrary
{
    /// <summary>
    /// 图片的相关信息,图片是关于某一个道具的图片
    /// </summary>
    public class Picture
    {
        /// <summary>
        /// 图片的ID,主键
        /// </summary>
        private int pictureId;

        public int PictureId
        {
            get { return pictureId; }
            set { pictureId = value; }
        }
        /// <summary>
        /// 图片x坐标
        /// </summary>
        private int xCoordinate;

        public int XCoordinate
        {
            get { return xCoordinate; }
            set { xCoordinate = value; }
        }
        /// <summary>
        /// 图片y坐标
        /// </summary>
        private int yCoordinate;

        public int YCoordinate
        {
            get { return yCoordinate; }
            set { yCoordinate = value; }
        }
        /// <summary>
        /// 图片深度
        /// </summary>
        private int depth;

        public int Depth
        {
            get { return depth; }
            set { depth = value; }
        }
        /// <summary>
        /// 图片在项目中的链接字符串
        /// </summary>
        private string sourceConnection;

        public string SourceConnection
        {
            get { return sourceConnection; }
            set { sourceConnection = value; }
        }
        public Picture(int picID)
        {
            //从XML中读取相关的picture的信息
        }
    }
}
